<div class="my_meta_control">
<? include($_SERVER['DOCUMENT_ROOT'] . "/wp-content/plugins/42A-autos/42autos-data.php"); ?>

<?
  for ($row = 0; $row < 212; $row++) {
    if($autoRalColors[$row][0] == $meta['autoKleur']){
?>
  <h4>Geselecteerde kleur: <strong id="colorText" style="color: #<? echo $autoRalColors[$row][2]; ?>"><? echo $autoRalColors[$row][4]; ?> (RAL Kleur No: <? echo $autoRalColors[$row][0]; ?>)</strong></h4>
<?
    }
  }
?>

  <div id="optionRalColors">
    <ol>
<? for ($row = 0; $row < 212; $row++) { ?>
      <li>
        <label for="ral<? echo $autoRalColors[$row][0]; ?>">
          <span class="colorPreview" style="background-color: #<? echo $autoRalColors[$row][2]; ?>">
            <input type="radio" name="_my_meta[autoKleur]" id="ral<? echo $autoRalColors[$row][0]; ?>" value="<? echo $autoRalColors[$row][0]; ?>" <?php if($meta['autoKleur'] == $autoRalColors[$row][0]){ echo " checked=\"checked\" ";} ?>>
          </span>
          <? echo $autoRalColors[$row][0]; ?> <? echo $autoRalColors[$row][4]; ?>
        </label>
      </li>
<? } ?>
    </ol>  
  </div>

</div>